package com.wangwenshuo.rikao.entity;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

@Document(collection = "rikao-student")
@Data
public class Student {
    @Field("_id_")
    private String _id;
    @Field("id")
    private Long id;
    @Field("name")
    private String name;
    @Field("code")
    private String code;
    @Field("age")
    private int age;
    @Field("phone")
    private String phone;
    @Field("sex")
    private String sex;

}
